package cn.hackcloud.netty.codec.marshalling;

import java.io.Serializable;

public class BookInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	private String type;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "{" + "id=" + id + ", name=" + name + ", type='" + type + '\'' + '}';
	}

}
